package com.util.Algorithm.NeuralNetworks;

import com.entity.NeuralNetworks.NeuralNetworks;

/**
 * Created by wlc on 2018/5/24.
 */
public interface LearningAlgorithm {
    /**
     * 监督学习训练
     * @param neuralNetworks
     * @param trainSet
     * @param label
     */
    void train(NeuralNetworks neuralNetworks,Double[][] trainSet,Double[] label);

    /**
     * 无监督学习训练
     * @param neuralNetworks
     * @param trainSet
     */
    void train(NeuralNetworks neuralNetworks,Double[][] trainSet);
}
